<?php

if(! defined('OT_ROOT')) {
	exit('Access Denied');
}


class AppPptp{
	public static $appName = 'IDC PPTP模块';
	public static $appID = 141;

	public static function Jud(){
		return false;
	}

	public static function Show($str, $def=''){
			return $def;
	}

	public static function Manage($userID){

	}

	public static function Kaitong(){

	}

	public static function KaitongDet($userID){

	}

	public static function Xufei($userID){

	}

	public static function Tuikuan($userID){

	}

	public static function AreaList(){

	}

	public static function PptpList(){

	}

	public static function CheckUser($username){
		return array('res'=>false, 'note'=>'插件被禁用/未购买');
	}

	public static function PayMode($num, $str){
		switch ($str){
			case '24hour':		return '测试';
			case 'day':			return $num .'日';
			case 'week':		return $num .'周';
			case 'month':		return $num .'月';
			default :			return '['. $str .']';
		}
	}
}

?>